package cn.dcp.muck.service.impl;

import cn.dcp.muck.common.service.CrudService;
import cn.dcp.muck.entity.SysParam;
import cn.dcp.muck.mapper.SysParamMapper;
import cn.dcp.muck.service.SysParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class SysParamServiceImpl extends CrudService<SysParamMapper, SysParam> implements SysParamService {
	@Autowired
	private SysParamMapper sysParamMapper;

    @Override
    public SysParam queryObject(String id){
        return sysParamMapper.get(id);
    }

	@Override
	public List<SysParam> queryList(Map<String, Object> map){
		return sysParamMapper.queryList(map);
	}

	@Override
	public void deleteById(String id){
		sysParamMapper.deleteById(id);
	}
	
	@Override
	public void delete(SysParam sysParam){
		sysParamMapper.delete(sysParam);
	}
	
}
